package com.ddwl.wallet.dao.model;


import com.ddwl.common.dao.model.BaseModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;
import java.math.BigDecimal;

@Getter
@Setter
@Table(name = "sys_user_wallet_flow")
public class UserWalletFlow extends BaseModel {

    /**
     * 用户ID
     */
    private String userId;
    /**
     * 变动记录Id
     */
    private String changeRecord;
    /**
     * 交易类型 0收入1支出
     */
    private Integer transactionType;
    /**
     * 0 分润佣金结算 1提现
     */
    private Integer type;
    /**
     *账户变动金额
     */
    private BigDecimal changeAmount;
    /**
     * 结算账户变变动之前余额
     */
    private BigDecimal beforeAmount;
    /**
     * 结算账户变变动之后余额
     */
    private BigDecimal afterAmount;
    /**
     * 描述
     */
    private String msg;
}
